<div id="footer">
	<div class="adminlink"> 
		<?php 
			
			if (!$_SESSION["login"]) {
		?>
		
				<a href="index.php?page=login">
		
		<?php 
			}
			else {		
		?>
			
				<a href="index.php?page=admin">
			
		<?php } ?>	
				
				admin
			</a>
			
			-
			
			<?php if ($_SESSION["login"]){ ?>
				
				<a href="index.php?page=logout">
					logout
				</a>
			
			<?php }?>
			

	</div>
	<p>Copyright (c) 2009 Yasmin Diab. All rights reserved. </p>
</div>
<!-- end #footer -->